package com.base.mine.bean;


import com.base.commonlib.http.RealNetWorkUtil;
import com.base.commonlib.recy.HolderTypeData;
import com.base.mine.adapter.CateViewHolder;

import java.util.ArrayList;
import java.util.List;

/**
 */
public class MineData {
    public static List<HolderTypeData> getWorkFragmentDatas(){
        List<HolderTypeData> datas = new ArrayList<HolderTypeData>();

        List<MineEntity> list = new ArrayList<>();
        MineEntity workEntity = null;

        workEntity = new MineEntity();
        workEntity.setLoadPic("icon_my_scope");
        workEntity.setmClass("");
        workEntity.setTextInfo("我的积分");
        workEntity.setWebUrl(RealNetWorkUtil.HOST_IP+":8585/kaoshi/index.html#/myIntegral");
        list.add(workEntity);


        workEntity = new MineEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/mine/version");
        workEntity.setWebUrl("icon_ver_update");
        workEntity.setTextInfo("版本更新");
        list.add(workEntity);


//        workEntity = new MineEntity();
//        workEntity.setLoadPic("icon_about_us");
//        workEntity.setmClass("");
//        workEntity.setTextInfo("关于我们");
//        workEntity.setWebUrl("RealNetWorkUtil.HOST_IP+":8585/kaoshi/index.html#/aboutMe");
//        list.add(workEntity);

        workEntity = new MineEntity();
        workEntity.setLoadPic("icon_use_page");
        workEntity.setmClass("");
        workEntity.setTextInfo("使用说明");
        workEntity.setWebUrl(RealNetWorkUtil.HOST_IP+":8585/kaoshi/index.html#/howUse");
        list.add(workEntity);


        workEntity = new MineEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("icon_faceback");
        workEntity.setId("ae5e830a8496497a9d00ad494e5ee4d9");
        workEntity.setTextInfo("问题反馈");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new MineEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("phone_number");
        workEntity.setWebUrl("icon_phone_service");
        workEntity.setId("xxxx");
        workEntity.setTextInfo("技术服务");
        workEntity.setNum(1);
        workEntity.setType("8");
        workEntity.setCustom(false);
        workEntity.setCase(false);
        list.add(workEntity);

        CateViewHolder cateViewHolder = new CateViewHolder();

        cateViewHolder.setData(list);

        datas.add(cateViewHolder);

        return datas;
    }
}
